import Vuex from "vuex";
import Vue from "vue";
import user from "./modules/user";
import settings from "./modules/settings";
import getters from "./getters";
import app from "./modules/app";
import tagsView from "./modules/tagsView";
import permission from './modules/permission'
Vue.use(Vuex);

const store = new Vuex.Store({
  strict: false, // 是否严格模式，默认false
  getters,
  modules: {
    permission,
    user: user,
    settings: settings,
    app: app,
    tagsView: tagsView,
  },
});

export default store;
